home *** CD-ROM | disk | FTP | other *** search
/ Aminet 34 / Aminet 34 (2000)(Schatztruhe)[!][Dec 1999].iso / Aminet / dev / c / PMM.lha / PMM / Developer / LibSrc / AMIPX_Library.c < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-22  |  340 b   |  18 lines

  1. #include <exec/libraries.h>
  2. #include <proto/exec.h>
  3.  
  4. struct Library *AMIPX_Library = NULL;
  5. extern unsigned long _AMIPX_LibraryVer;
  6.  
  7. void _INIT_5_AMIPX_Library()
  8. {
  9.   if (!(AMIPX_Library = OpenLibrary("amipx.library",_AMIPX_LibraryVer)))
  10.     exit(20);
  11. }
  12.  
  13. void _EXIT_5_AMIPX_Library()
  14. {
  15.   if (AMIPX_Library)
  16.     CloseLibrary(AMIPX_Library);
  17. }
  18.